package com.ll.enum_;

/**
 * @author 刘龙
 * @version 1.0
 */
public class EnumDetail01 {
    public static void main(String[] args) {
        Gender2 boy = Gender2.BOY;
        Gender2 boy1 = Gender2.BOY;
        System.out.println(boy);
        System.out.println(boy1 == boy);

    }
}

enum Gender2 {
    BOY,GIRL;
}

